key Handler
Defines the Entry used to handle validation, serialization, etc. for map values
The builder will internally create a ValidatedEnum wrapping the default value.
Author
fzzyhmstrs
Since
0.2.0
Parameters
default Value
the default value of K
Deprecated
For basic ValidatedEnum implementation, see keyHandler(defaultValue: K)
Defines the Entry used to handle validation, serialization, etc. for map keys
Author
fzzyhmstrs
Since
0.2.0
Parameters
handler
an Entry used as a handler for keys. Typically a ValidatedEnum